
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Anonym.Data.Entities
{
    /// <summary>
    /// 菜单方法映射表
    /// </summary>
    public class Cms_MenuMap
    {
        
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long ID { get; set; } = 0;

        /// <summary>
        /// 菜单id
        /// </summary>
        public long MenuId { get; set; } = 0;

        /// <summary>
        /// 控制器名称
        /// </summary>
        public string ControlName { get; set; } = string.Empty;

        /// <summary>
        /// 方法名称
        /// </summary>
        public string ActionName { get; set; } = string.Empty;

        /// <summary>
        /// 是否展示；0：否，1：是。考虑以后展示在菜单下由用户组勾选
        /// </summary>
        public int IsView { get; set; } = 0;

        /// <summary>
        /// 展示名称；考虑以后展示在菜单下由用户组勾选
        /// </summary>
        public string ViewName { get; set; } = string.Empty;

        /// <summary>
        /// 排序值
        /// </summary>
        public long IndexId { get; set; } = 0;

    }
}

